public class Demo {
    public static void main(String[] args) {
        //字面量常量不可以修改
        System.out.println("hello");
        int j = 10;
        System.out.println(true);
        System.out.println(false);

        System.out.println(j);

        System.out.println(Integer.MAX_VALUE);
        //Integer  int的plus版本

        float f = 14.6f;//单精度
        double d = 33.5;//双精度

        String str ="123";
        int s = Integer.parseInt(str);//字符串转换为整数
        System.out.println(s+1);//124

        System.out.println(7%3);
        System.out.println(-7%3);
        System.out.println(7%-3);
        System.out.println(-7%-3);

        int h = 10;
        h = h++;//汇编  局部变量表/操作数表
        System.out.println(h);//10

        System.out.println("\\\"hello\\\"");

        System.out.println("/\"hello/\"");

        short a =128;
        byte b =(byte) a;
        System.out.println(a+" "+ b);
    }
}
